package controller;

import java.io.Serializable;

/**
 * Sendobject
 * 
 * @author Safran Quader
 * @version 0.2
 *
 */

public class Sendobject implements Serializable {

	private static final long serialVersionUID = 4194250068883119897L;

	private String ip;
	private int port;
	private int command;
	private String art;
	private Object object;
	
	public Sendobject(String ip, int port, int command, String art, Object object){
		this.setIp(ip);
		this.setPort(port);
		this.setCommand(command);
		this.setArt(art);
		this.setObject(object);
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public int getCommand() {
		return command;
	}

	public void setCommand(int command2) {
		this.command = command2;
	}

	public String getArt() {
		return art;
	}

	public void setArt(String art) {
		this.art = art;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}
	
}
